/**
 * 
 */

module.exports = function(mod, name) {
	mod.controller(name, ['$scope', 'topListService', '$http', '$timeout', function($scope, topListService, $http, $timeout) {
		$scope.editTitle = "种子查看";
		$scope.seedTopListService = topListService;
		
		$scope.seedTopListService.angularCallAjax('get', '/api/seeds/qbyid', {
			id: 1
		}, function(data, status) {
			console.log("data");
			if (data.status === true) {
				$scope.seedListArrays = data.data[0];
				console.log($scope.seedListArrays);
			}
		});
		
	}]);
}